package com.itheima.config;


import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;

/**
 * @Configuration  声明这是一个配置类
 * @Import 将dao引入到主配置中
 * @ComponentScan  包扫描
 */

@Configuration
@ComponentScan("com.itheima")
@Import(value = DaoConfig.class)
public class MyConfig {

}
